package com.zhengping.zpys.security.role;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author xiaonuolen
 * @version 1.0
 * @date 2020/3/27 11:37
 */
@Mapper
public interface RoleMapper {


    public Integer deleteList(Long[] roles);

    public Integer creatRole(Role role);

    public Integer updateRole(Role role);
    public Role queryRoleById(Long roleId);
    public List<Role> queryList(Role role);
}
